package com.wty.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Author:wangtianyu
 * @Date：Created on 2020/5/9 0009 19:49
 */
@EnableZuulProxy // 声明当前服务是祖鲁网关
@EnableEurekaClient // 注册当前的微服务到注册中心
@SpringBootApplication
public class ZuulApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class);
    }
}
